]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Correct source name for timed login idle timeout
authorverdre <gitlab@v0yd.nl>
Tue, 17 Apr 2018 21:09:31 +0000 (23:09 +0200)
committerverdre <gitlab@v0yd.nl>
Thu, 19 Apr 2018 15:26:14 +0000 (17:26 +0200)
The _blockTimedLoginUntilIdle method sets a timeout to be called after
the user is idle for 5 seconds.  That timeout is erroneously given the
source name "[gnome-shell] this._timedLoginAnimationTime" which looks
like a copy-and-paste mistake.  The original intention was probably to
use a source name of "[gnome-shell] this._timedLoginIdleTimeOutId" which
more closely matches existing convention for source names.

This commit fixes that.

js/gdm/loginDialog.js

index 89178b8eec2f67b1fe134f8499f0b82da6429582..052a1d814e07618e67418299d6550014970f430a 100644 (file)
@@ -999,7 +999,7 @@ var LoginDialog = new Lang.Class({
                 hold.release();
                 return GLib.SOURCE_REMOVE;
             });
-        GLib.Source.set_name_by_id(this._timedLoginIdleTimeOutId, '[gnome-shell] this._timedLoginAnimationTime');
+        GLib.Source.set_name_by_id(this._timedLoginIdleTimeOutId, '[gnome-shell] this._timedLoginIdleTimeOutId');
         return hold;
     },